﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Sofire.Data;

namespace OracleExpHelper
{
    static class Program
    {
        public static OracleQuery Database;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            switch(new FormLogin().ShowDialog())
            {
                case DialogResult.OK:
                    Application.Run(new FormExport());
                    break;
                case DialogResult.Yes:
                    Application.Run(new FormImport());
                    break;
            }
        }
    }
}
